package svc

import (
	{{.configImport}}
    "gitee.com/libwiki/go-zero-lib/package/libContext"
)

type ServiceContext struct {
	*libContext.Context
	Config config.Config
}

func NewServiceContext(c config.Config) *ServiceContext {
	ctx := &ServiceContext{
		Config: c,
		Context: &libContext.Context{},
	}
	ctx.InitContext(c.Config)
	return ctx
}
